using System.Collections;
using System.Collections.Generic;
using PureMVC.Patterns.Proxy;
using UnityEngine;

public class HpProxy : Proxy
{
    private float _hp = 99;
    public float Hp
    {
        get
        {
            return _hp;
        }
    }

    public HpProxy(string proxyName, object data = null) : base(proxyName, data)
    {
    }
    
    public void RandomHp()
    {
        _hp = Random.Range(0, 100);
    }
    
    public void ResetHp()
    {
        _hp = 100f;
    }
    
    
}
